<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        * {
            box-sizing: border-box;
        }
        body {
            margin: 0;
            padding: 0;
            width: 100%;
        }
        .b {
            float: left;
            width: 200px;
            height: 200px;
            border: 1px solid #000;
        }
        .c {
            float: left;
            width: 400px;
            height: 200px;
            border: 1px solid #d44a4a;
        }
        .d {
            float: right;
            width: 100%;
            height: 200px;
            margin-left: -600px;
        }
        .y {
            margin-left: 600px;
            border: 1px solid #000;
            height: 200px;
        }
        .e {
            width: 100%;
            height: 50px;
            border: 1px solid #e222ff;
        }
        .f {
            float: left;
            width: 50px;
            height: 150px;
            border: 1px solid #cccc11;
        }
        .g {
            margin-left: 50px;
            height: 150px;
            border: 1px solid #f224dd;
        }
    </style>
</head>
<body>
    <div class="b"></div>
    <div class="c"></div>
    <div class="d">
        <div class="y">
            <div class="e"></div>
            <div class="f"></div>
            <div class="g"></div>
        </div>
    </div>
</body>
</html>
